MIME-Version: 1.0
Server: CERN/3.0
Date: Monday, 16-Dec-96 23:19:07 GMT
Content-Type: text/html
Content-Length: 1345
Last-Modified: Monday, 13-Mar-95 14:33:34 GMT

<html>
<head>
<title> CS 314: Homework Number 3  </title>
</head>

<body>

<h1> Homework Number 3 </h1>
<h3>
Date Assigned:   February 14, 1995<br>
Date Due:   February 21, 1995
</h3>
<h3> To submit your answer </h3>
Drop by the consulting office (305 Upson) during consulting hours to
get your homework graded and recorded.

<h3>Problem 1 </h3>
Convert these numbers into 8 bit two's complement form or back into
decimal. Do all algebraic manipulation in two's complement. All binary
numbers are 8 bits.

<OL>
    <LI>-91
    <LI>-34
    <LI>10111011
    <LI>-76
    <LI>DIVIDE -76 by 2
    <LI>-100
    <LI>MULTIPLY -100 by 2
    <LI>-15
    <LI>ADD -100 and -15
    <LI>10000000
    <LI>10011000
    <LI>MUTIPLY -5 by -8
</OL>


<h3>Problem 2</h3>
For each of the following parameter passing strategies, state (in one
sentence) a limitation/disadvantage of the strategy and (in another
sentence) what the procedure can do, if anything, to compensate for the
limitation

<OL>
    <LI>Passing parameters using registers.
    <LI>Passing parameters in a fixed global address
</OL>


<h3>Problem 3</h3>
Give a short answer to each of the following questions. Excessively
verbose answers will result in lost points.

<OL>
    <LI>Name two functions of the procedure prolog
    <LI>Name two functions of the procedure epilog
</OL>

</body>
</html>
